package com.emm.yixun.poss.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 基础编码类型
 *
 */
@TableName("sys_tm_base_code_type")
public class TmBaseCodeType implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 基础编码类型:[{key:code_type,values:[{no:01,alias:CUSTOMER,remark:客户参数}]}] */
	@TableField(value = "code_type")
	private String codeType;

	/** 类型名称 */
	@TableField(value = "type_name")
	private String typeName;

	/** 类型值 */
	@TableField(value = "type_value")
	private String typeValue;

	/** 排序 */
	private String sort;

	/** 备注 */
	private String remark;

	/** 商户号 */
	@TableField(value = "merchant_id")
	private Long merchantId;

	/** 创建人 */
	@TableField(value = "create_user_id")
	private Long createUserId;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 修改人 */
	@TableField(value = "update_user_id")
	private Long updateUserId;

	/** 修改时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 是否删除:[{key:del_flag,values:[{no:0,alias:UNDEL,remark:否},{no:1,alias:DEL,remark:是}]}] */
	@TableField(value = "del_flag")
	private String delFlag;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCodeType() {
		return this.codeType;
	}

	public void setCodeType(String codeType) {
		this.codeType = codeType;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getTypeValue() {
		return this.typeValue;
	}

	public void setTypeValue(String typeValue) {
		this.typeValue = typeValue;
	}

	public String getSort() {
		return this.sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getMerchantId() {
		return this.merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public Long getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateUserId() {
		return this.updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

}
